package com.ouc.openplatform.zykt.orderManage.service.impl;

import com.ouc.openplatform.pojo.EUDataGridResult;
import com.ouc.openplatform.zykt.orderManage.dto.DD_TestItemDto;
import com.ouc.openplatform.zykt.orderManage.service.DD_ClientTestItemService;
import com.ouc.openplatform.zykt.orderManage.service.DD_TestItemService;

public class DD_ClientTestItemServiceImpl implements DD_ClientTestItemService{
	
	private DD_TestItemService testItemService;
	
	public DD_TestItemService getTestItemService() {
		return testItemService;
	}

	public void setTestItemService(DD_TestItemService testItemService) {
		this.testItemService = testItemService;
	}

	@Override
	public int insertSelective(DD_TestItemDto testItemDto) {
		
		return testItemService.insertSelective(testItemDto.getTestItem());
	}

	//根据专用号和检验项名称查询所有的检验项-----sxl
	@Override
	public EUDataGridResult findAllTestItemByCondition(String specialNumber, String testitemName,int page,int rows) {
		return testItemService.findAllTestItem(specialNumber, testitemName, page, rows);
	}
	
	//根据产品条码查询所有的检验项-----sxl
	@Override
	public EUDataGridResult findAllTestItemByBarCode(String barCode) {
		return testItemService.findAllTestItemByBarCode(barCode);
	}


}
